<?php

require_once('AP5L.php');
AP5L::install();

session_start();
$_SESSION['uvb'] = new AP5L_Forms_UserVerifier_Basic();
$_SESSION['uvb'] -> create(isset($_GET['l']) ? $_GET['l'] : 6);
echo 'The correct answer is ' . $_SESSION['uvb'] -> getAnswer() . '<br/>';
echo '<img src="UserVerifierBasicGen.php" /><br/><br/>';
echo '<img src="' . $_SESSION['uvb'] -> embed() . '" /><br/>';

?>